<extend name="base/index" />

		<!-- 页面部分 -->
		<block name="content">
		<div class="page-content">

			<!-- 点击设置弹出层 -->

			<div id="portlet-config" class="modal hide">

				<div class="modal-header">

					<button data-dismiss="modal" class="close" type="button"></button>

					<h3>设置弹出层</h3>

				</div>

				<div class="modal-body">

					<p>请填写完毕注册表单，单击保存！</p>

				</div>

			</div>

			<!-- END 点击设置弹出层-->

			<!-- BEGIN PAGE CONTAINER-->        

			<div class="container-fluid">

				<!-- BEGIN PAGE HEADER-->

				<div class="row-fluid">

					<div class="span12">
						<!-- 页内标题和地址-->

						<h3 class="page-title">

							编辑用户 <small>设置用户的基本信息</small>

						</h3>

						<ul class="breadcrumb">

							<li>

								<i class="icon-home"></i>

								<a href="index.html">管理后台</a> 

								<i class="icon-angle-right"></i>

							</li>

							<li>

								<a href="#">用户管理</a>

								<i class="icon-angle-right"></i>

							</li>

							<li><a href="#">编辑用户</a></li>

						</ul>

						<!-- END 页内标题和地址-->

					</div>

				</div>

				<!-- END PAGE HEADER-->

				<!-- 页面主要内容-->

				<div class="row-fluid">

					<div class="span12">

						<!-- BEGIN VALIDATION STATES-->

						<div class="portlet box green">

							<div class="portlet-title">

								<div class="caption"><i class="icon-edit"></i>填写用户最新基本资料</div>

								<div class="tools">

									<a href="javascript:;" class="collapse"></a>

									<a href="#portlet-config" data-toggle="modal" class="config"></a>

									<a href="javascript:;" class="reload"></a>

									<a href="javascript:;" class="remove"></a>

								</div>

							</div>

							<div class="portlet-body form">

								<!-- BEGIN FORM-->

								<h3>请正确填写用户最新信息！</h3>

								<form action="__ACTION__" id="form_sample_3" class="form-horizontal" method="post">

									<div class="alert alert-error hide">

										<button class="close" data-dismiss="alert"></button>

										表单错误，请检查！

									</div>

									<div class="alert alert-success hide">

										<button class="close" data-dismiss="alert"></button>

										表单正确，请提交！

									</div>

									<div class="control-group">
										<label class="control-label">用户名<span class="required">*</span></label>
										<div class="controls">
											<input type="text" name="name" value="{$user.username}" data-required="1" class="span6 m-wrap"/>
										</div>
									</div>

									<div class="control-group">
										<label class="control-label">昵称<span class="required">*</span></label>
										<div class="controls">
											<input type="text" name="nickname" value="{$user.nickname}" data-required="1" class="span6 m-wrap"/>
										</div>
									</div>
									
									<div class="control-group">
										<label class="control-label">邮箱<span class="required">*</span></label>
										<div class="controls">
											<input name="email" value="{$user.email}" type="text" class="span6 m-wrap"/>
										</div>
									</div>
									
									<div class="control-group">

										<label class="control-label">用户密码<span class="required">*</span></label>

											<div class="controls">

											<input type="password" class="span6 m-wrap" value="" name="password" id="submit_form_password"/>

											<span class="help-inline">不设置请为空</span>

											</div>

										</div>

									<div class="control-group">

										<label class="control-label">重复密码<span class="required">*</span></label>

											<div class="controls">

												<input type="password" class="span6 m-wrap" value="" name="rpassword"/>

												<span class="help-inline">不设置请为空</span>

										</div>

								</div>

									<div class="control-group">

										<label class="control-label">用户类型<span class="required">*</span></label>

										<div class="controls">

											<select class="span6 m-wrap" name="category">

												<option value="">请选择...</option>

												<option value="1">网站管理员</option>

											</select>

										</div>

									</div>

									<div class="control-group">

										<label class="control-label">是否启用<span class="required">*</span></label>

										<div class="controls">

												<label class="radio">

													<div class="radio"><span class="checked"><input type="radio" name="status" value="1"<eq name="user.status" value="1"> checked</eq> data-title="启用" style=""></span></div>

												启用</label>

											<div class="clearfix"></div>

											<label class="radio">

												<div class="radio"><span class=""><input type="radio" name="status" value="0"<eq name="user.status" value="0"> checked</eq> data-title="禁用" style=""></span></div>

											禁用</label>  

											<div id="form_gender_error"></div>

										</div>
									</div>
									
									<div class="form-actions">

										<button type="submit" class="btn green">保存</button>

										<button type="button" class="btn">取消</button>

									</div>

								</form>

								<!-- END FORM-->

							</div>

						</div>

						<!-- END VALIDATION STATES-->

					</div>

				</div>

				<!-- END 页面主要内容 -->

			</div>

			<!-- END PAGE CONTAINER-->

		</div>
		
		<!-- 页面部分 -->
		</block>